package com.yxw.live_vod_facade.dto;




import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
//import lombok.EqualsAndHashCode;



/*** 
*@author Jiaxu.Huang
*@date 2023/12/11 16:42:50
*@update 2023/12/11 16:42:50
**/
@Data
//@EqualsAndHashCode(callSuper = true)
public class YxLiveAppealDTO   implements Serializable
{
    private static final long serialVersionUID = 51702284170782L;
    /**
    *主键
    */
    @NotNull(message = "主键不可为空")
    @ApiModelProperty(value = "主键")
    private Long Id;
    /**
    *申诉状态 申诉中，申诉成功，申诉失败
    */
    @NotNull(message = "申诉状态 0申诉中，1申诉成功，2申诉失败   不可为空")
    @ApiModelProperty(value = "申诉状态 0申诉中，1申诉成功，2申诉失败")
    private Integer status;
    /**
    *处理人Id
    */
    @NotNull(message = "处理人Id不可为空")
    @ApiModelProperty(value = "处理人Id")
    private Long handleUserId;
    /**
    *处理人名称
    */
    @NotBlank(message = "处理人名称不可为空")
    @ApiModelProperty(value = "处理人名称")
    private String handleUserName;

    /**
    *将DTO转换为ENTITY
    
    public YxLiveAppealEntity ConverToEntity()
    {
        YxLiveAppealEntity oYxLiveAppealEntity = new YxLiveAppealEntity ();
        oYxLiveAppealEntity.setId(Id) ;
        oYxLiveAppealEntity.setStatus(status) ;
        oYxLiveAppealEntity.setHandleUserId(handleUserId) ;
        oYxLiveAppealEntity.setHandleUserName(handleUserName) ;
        return oYxLiveAppealEntity;
    }*/
}

